package cn.topcodes.tcsf.app.domain.form;

import cn.topcodes.tcsf.admin.commons.domain.Idable;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * 类别表单
 * @author Yvan
 */
@Data
public class HelpArticleCatalogForm implements Idable {
	
	private Long id;

	@NotNull(message = "Name cannot be blank")
	@Length(min = 0,max = 100,message = "Name length is 0 ~ 100 characters")
	private String name;
	
	private Long parentId;


}